home *** CD-ROM | disk | FTP | other *** search
- .MODEL SMALL
-
- INCLUDE equates.inc
- INCLUDE instance.inc
- INCLUDE messages.inc
- INCLUDE objects.inc
-
- UR EQU 3 ;Upper row
- LC EQU 1 ;Left column
- LR EQU 23 ;Lower row
- RC EQU 79 ;Right column
-
- IF1
- INCLUDE macros.mac
- INCLUDE objects.mac
- INCLUDE video.mac
- ENDIF
-
- EXTRN sendMsg:NEAR
-
- EXTRN Dispatch:WORD
- EXTRN Hardware:WORD
- EXTRN SBorder:WORD
- EXTRN Self:WORD
- EXTRN System:WORD
- EXTRN Window:WORD
-
-
- .CODE
-
- IF Dbug
- PUBLIC disFileWin
- ENDIF
- COMMENT %
- ==============================================================================
- Displays a file's text in FileWin window.
-
- =============================================================================%
- disFileWin PROC NEAR
- ret
- disFileWin ENDP
-
-
-
- .DATA
-
-
- defDispTbl FileWin,\
- <0,0,3,0,0,0,0,System,Reset>,\
- <Nil,Nil,1,UR,LC,LR,RC,FileWin,Clear>,\
- <0,68,3,0,0,0,0,FileWin,Clear,System,Refresh,System,Read>,\
- <0,Nil,Nil,0,0,24,79,Hardware,Refresh>
-
- defMsg FileWin,\
- Refresh,\
- <,,disFileWin>
-
- defObj FileWin,\
- <Dispatch,Window,SBorder>,\
- <Row1,1,UR,\
- Col1,1,LC,\
- Row2,1,LR,\
- Col2,1,RC,\
- Color,1,34h,\
- Unused,1,Nil,\
- TxtPtr,2,Nil,\
- InxPtr,2,Nil,\
- MasterObj,2,Nil,\
- DispTbl,2,FileWinDispTbl>,\
- <Refresh,Read,Clear>
-
-
-
-
- END
-